#include<bits/stdc++.h>

using namespace std;

//二重循环
int main() {
    int n = 39;
    int x, y;
    for (x = 0; x < n; x++) {
        for (y = 0; y < n; y++) {
            double r = hypot(x - n / 2, y - n / 2);
            if (10 <= r && r <= n / 2)
                printf("# ", x, y);
            else
                printf(". ");
        }
        printf("\n");
    }
    return 0;
}
